package com.tutu.service;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface SpecialGroupService {

    Map<String, Object> pageByParams(String keyWord, Integer page, Integer limit);

    Map<String, Object> saveInfo(HttpServletRequest request, Integer companyId, String content, Integer turnIndex);

    Map<String, Object> delInfo(HttpServletRequest request, Integer id);

    Map<String, Object> childPageByParams(Integer specialGroupId, String keyWord, Integer page, Integer limit);

    Map<String, Object> saveChildInfo(HttpServletRequest request, Integer specialGroupId, Integer deviceId);

    Map<String, Object> delChildInfo(HttpServletRequest request, Integer id);

    Map<String, Object> childUserPageByParams(Integer specialGroupId, String keyWord, Integer page, Integer limit);

    Map<String, Object> saveChildUserInfo(HttpServletRequest request, Integer specialGroupId, Integer userId);

    Map<String, Object> delChildUserInfo(HttpServletRequest request, Integer id);
}